package com.chaochis.springboottestdemo.enumList;

import lombok.Getter;

@Getter
public enum ContentType {
  Form("application/x-www-form-urlencoded", 0),
  Json("application/json", 1);
  private final String value;
  private final Integer id;
  ContentType(String value, Integer id) {
    this.value = value;
    this.id = id;
  }
}
